#include "myfile.h"
int main(){
  MY_FILE* myfp = my_fopen("log.txt","w");
  if(myfp==NULL){
  perror("my_fopen");
  }

  char arr[] = "hello bite\n";
  my_fwrite(arr,sizeof(char),sizeof(arr),myfp);
  my_fclose(myfp);
  return 0;
}
